package com.hzbank.generate.service;

import com.hzbank.generate.entity.AccountDetails;
import com.hzbank.generate.entity.AccountInfo;
import com.hzbank.generate.entity.vo.DetailList;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface InterfaceService {

    int insert(AccountDetails details);
    void update(AccountInfo info);
    List<AccountDetails> selectDetailsByPrimaryKey(String tranSeq);
    //交易明细列表查询
    List<AccountDetails> list1(DetailList detailList);
    //交易明细详情查询
    List<AccountDetails> list2(AccountDetails details);
    //开户排行榜
    List<AccountInfo> selectByDate(Map<String,String> dateMap);
    int infoCount();
    //机构发生额排行榜
    List<AccountDetails> selectAreaListByDate(@Param("dateStart") String dateStart, @Param("dateEnd") String dateEnd);



}
